package cn.edu.ujn.lab3.service;

import java.util.List;

import cn.edu.ujn.lab3.dao.BaseDict;
import cn.edu.ujn.lab3.dao.Customer;
import cn.edu.ujn.lab3.dao.CustomerQueryVo;
import cn.edu.ujn.lab3.util.Page;

public interface ICustomerService {
	//根据查询条件查询用户
	public List<Customer> findCustomerByVo(CustomerQueryVo vo);
	//根据查询条件查询相关用户的总数量
    public Integer findCustomerByVoCount(CustomerQueryVo vo);
    //根据行业编号查找指定信息
	List<BaseDict> findDictByCode(String code);
	
	int insert(Customer record);
	//删除客户信息
    public Integer deleteByPrimaryKey(Integer custId);
    //根据ID查找查找用户
  	public Customer getCustomerById(Long custId);
  	//根据ID修改用户信息
  	public int upCustomerById(Customer record);
    //检验用户信息的合法性
  	public boolean checkCustomer(Customer record);
}
  